import {http} from "@/interceptor/luch-request/index.js"


// 创建
export const saveActivityUser = (data) => {
    return http.post("api/admin/ActivityUser/v1/saveActivityUser", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}
// 编辑
export const updateActivityUser = (data) => {
    return http.put("api/admin/ActivityUser/v1/updateActivityUser", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}

// 列表
export const pageActivityUser = (data) => {
	return http.get("api/admin/ActivityUser/v1/pageActivityUser", {
		data: data
	});
}
 
// 删除
 export const deleteActivityUser = (id) => {
  	return http.delete("api/admin/ActivityUser/v1/deleteActivityUser/"+id, {
  		header:{
  			"content-type": "application/x-www-form-urlencoded"
  		}
  	});
 }
